package com.seveneight.baijiesteward.ui.user.contract;

import android.content.Context;

import com.seveneight.baijiesteward.bean.UserBean;
import com.seveneight.baijiesteward.http.MyCallBack;

import okhttp3.RequestBody;

/**
 * Created by user1 on 2018/2/24.
 */

public interface IdentifyContract {

    interface IdentifyView {
        void reBackUrl(String url);

        void identifySuccess(UserBean userBean);
    }

    interface IdentifyModel {
        void UploadImg(Context context,RequestBody body, MyCallBack<String> callBack);

        void startIdentify(Context context,RequestBody body, MyCallBack<UserBean> callBack);
    }

    interface IdentifyPresenter {
        void UploadImg(Context context,RequestBody body);

        void startIdentify(Context context,RequestBody body);
    }

}
